package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportStevedoreSignin;
import cn.stylefeng.guns.modular.transport.model.params.TransportStevedoreSigninParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportStevedoreSigninResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 装卸签到表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2023-11-04
 */
public interface TransportStevedoreSigninService extends IService<TransportStevedoreSignin> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2023-11-04
     */
    void add(TransportStevedoreSigninParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2023-11-04
     */
    void delete(TransportStevedoreSigninParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2023-11-04
     */
    void update(TransportStevedoreSigninParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-04
     */
    TransportStevedoreSigninResult findBySpec(TransportStevedoreSigninParam param,Long operateId);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-04
     */
    List<TransportStevedoreSigninResult> findListBySpec(TransportStevedoreSigninParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-04
     */
     LayuiPageInfo findPageBySpec(TransportStevedoreSigninParam param,String condition,Long operateId);

	TransportStevedoreSigninResult findlastBySpec(TransportStevedoreSigninParam last, Long operateId);

}
